package com.ztong.gen.action;

import com.intellij.openapi.actionSystem.AnAction;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.application.Application;
import com.intellij.openapi.application.ApplicationManager;
import com.ztong.gen.dialog.AutoCodeDialog;

/**
 * 自动代码操作
 *
 * @author Tong
 * @date 2020/07/21
 */
public class AutoCodeAction extends AnAction {
    @Override
    public void actionPerformed(AnActionEvent e) {
        Application application = ApplicationManager.getApplication();
        AutoCodeDialog dialog = new AutoCodeDialog();
        dialog.setVisible(true);
        System.out.println("keymap");
    }
}
